home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / keyb / dosext.zip / DOS.DOC < prev    next >
Text File  |  1988-10-18  |  8KB  |  247 lines

  1.  
  2.  
  3.  
  4. this is a shareware program, if you find it useful and timely.
  5. Please send
  6.  
  7.     $30
  8.  
  9.     Dos Extender
  10.     23240 Lori Way
  11.     Hayward, CA  94541
  12.  
  13. Power packed new version and Free updates for registered users
  14.  
  15. GENIE:  BFOSTER
  16. atari ST form node 158, bill foster
  17. Unix net pacbell!rencon!mpoint!bfoster
  18. send all questions and unimplemented improvement suggestions to me
  19.  
  20. If this is version 1.42b or less, then Feel free to distibute
  21. version 1.42b of this program free of charge only if this file is included.
  22. Version 1.42b is, however Copyright (C) 1988 by William Paul Foster,
  23. all rights reserved and may not be sold in any way shape or form.
  24. It is released as Tradeware.
  25.  
  26. Versions 1.43 and greater are Copyright (C) 1988 by William Paul Foster,
  27. all rights reserved and are for paying customers only.
  28.  
  29.             dos.exe version 1.42b
  30.  
  31.     Note - if you got this program for free you have only received changes
  32.     up to and including version 1.42b. if you wish to obtain the new
  33.     version, send your money to the address at the top of the file
  34.  
  35. When you buy, you get the following improvements plus free updates
  36.  
  37. Version 1.47 :   Sped command execution, command.com reentrant, batch perfected
  38. Version 1.46 :   cpd command - copy by date/archive - POWERFUL feature.
  39. Version 1.44 :   batch files ".BAT" recognized, code compacted
  40. Version 1.43 :   cursor [on/off] command, fixed ^C
  41.  
  42. This version contains the following:
  43.  
  44. Version 1.42b :  sped command execution method, command.com reentrant
  45. Version 1.42 additions:  pushd and popd can now interchange drives too
  46. Version 1.41 additions:  dl command - lists subdirectories
  47.              login sequence
  48. Version 1.4 additions:    color prompts - set alias color1 / color2
  49.             ^C is intercepted and disregaurded at the prompt
  50. Version 1.3 additions: saves out history to start where you left off
  51.             to a file called \history.sys, when '/n' is specified 
  52.             'dos /n'  or 'dos -n'  invokes loading and saving
  53.               of history amd login files, now normally disabled
  54. Version 1.2 additions: saves every login access to the readonly file \login.sys
  55. Version 1.1 additions: multiple commands per line, push and pop directories
  56.  
  57.    A helpful program is designed to increase speed and thoroughput when
  58. you're working with MS/PC-DOS.  I place this program in my autoexec.bat
  59. file as the last entry so it is ALWAYS in use.  Essentially, it gives the
  60. power of the Unix history and alias commands as a memory resident command
  61. line interpreter on the PC.  Please keep in mind that this is a Shareware
  62. program.  Not being overly complex, it remembers the last
  63. 60 messages typed and allows you to recall them by typing just the first
  64. couple of characters.  Recalled lines start with the letter '!'
  65.    There are also some more very powerful extensions to dos.
  66.  
  67.     Example:
  68. Say you are attempting a piece of software and want to alternate between
  69. the word processor and C compiler to work out some errors:
  70.  
  71.     you type:       ws design.c
  72.     after editing:    cc design.c -o design.o
  73. there were compilation errors, so
  74. to return to ws type:    !w
  75.     after editing:    !cc
  76.  
  77. To look at everything you've done, say 'hist'
  78. To copy a numbered line, type '!#' where # is the line number
  79. To execute the exact same command a second time in a row, type '!!'
  80.  
  81. Another history feature is the ability to access the last
  82. argument on the previous line, with "!$"
  83.  
  84.             ws design.doc
  85.             dir !$
  86.  
  87.     would edit and then give a directory listing of the file design.doc
  88.  
  89.  
  90. Part II of the dos package is the alias structure - To substitute one word
  91. for another or one word for a group of words.
  92.  
  93.         alias ls dir
  94.  
  95.     replaces the dir command with 'ls' and allows you to type 'ls *.c'
  96.  
  97. to look at all current substitutions, type 'alias' alone,
  98. or 'alias ls' for just one
  99.  
  100. Aliases will only work if they are shown first
  101.  
  102. apon entry to dos.exe, the PATH is searched for the file "alias.bat" that
  103. contains often accessed aliases and maybe a few executables
  104. A sample ALIAS.BAT is included in the arc file
  105.  
  106. a sample file might appear as follows - 
  107.  
  108.     rem : sample alias.bat file
  109.     alias al alias
  110.     al ls dir
  111.     al cat type
  112.     al mydir cd \c\bill
  113.     al cc c:\bin\mmcc.exe
  114.     al ln c:\bin\mmlink.exe
  115.     al color1 cyan
  116.     al color2 green
  117.     al pc 'pushd c:\comm&procomm&popd'
  118.  
  119. note that the last alias uses multiple commands on the same line.  They are
  120. seperated with & and the whole thing is enclosed in single quotes (').
  121.  
  122. ; in order to execute batch files from the command line, they should be
  123. ; precedded with the word batch.  Example:  batch autoexec
  124. versions 1.44 and greater automatically detect the .bat file extension
  125.  
  126. Important:
  127.     to exit dos.exe type 'bye'
  128.  
  129.  
  130. Version 1.1 Updates:
  131.  
  132.     pushd, popd
  133.     push and pop directories from a dir stack. Example,
  134.  
  135.         pushd \bbs\atari    - moves to \bbs\atari directory
  136.         pushd c:\comm        - saves current drive & directory
  137.         popd            - returns to the previous directory
  138.  
  139.     push and pop may go up to 10 levels deep
  140.  
  141.     multiple commands per line
  142.     Using the special character '&' you can seperate commands on one line
  143.  
  144.         cc myfile & ln myfile & ls myfile.*
  145.  
  146.     will first run cc, and then ln apon myfile, and next list myfile.*
  147.  
  148.     multiple command aliases can be specified using single quotes, example:
  149.  
  150.         alias pc 'pushd \procomm & procomm & popd'
  151.  
  152.  
  153. Version 1.2:
  154. Version 1.3:
  155.     saving of history and login records can be enabled by calling
  156.     dos with the -n option, example:
  157.  
  158.             dos -n
  159.  
  160. Version 1.4:
  161.     to set the command line colors, place into alias.bat or type
  162.     "alias color1 xxxx"  and  "alias color2 xxxx"
  163.      where xxxx can be one of the following colors:
  164.  
  165.     red, green, blue, yellow, black, magenta, white
  166. version 1.41:
  167.     type 'dl' and all subdirectories of the current directory are listed
  168.     Login sequence:
  169.         Apon entry to the program, a prompt will appear after the
  170.         execution of alias.bat.   The promp looks like:   Login:
  171.         usually you can just press ENTER and you will enter dos.
  172.         if you enter any other word, such as your first name John,
  173.         dos will attempt to execute the batch file JOHN.BAT and then
  174.         send you into dos.  This is so that if different users of the
  175.         same machine have preferences such as color settings they can
  176.         be accomodated.  Also if the -n feature was enacted, the user's
  177.         name will be recorded in the log.
  178. version 1.42:
  179.     alias's may be referenced in the middle of the command line by
  180.     preceeding them with a $.  One excellent use for this has to do with
  181.     the user login.  In each user's file you can assign an alias of that
  182.     user's name.  i.e. inside john.bat
  183.         alias user john
  184.     then (or before in alias.bat), you can use that name in another alias
  185.         alias mail 'mailx $user'
  186.     and the current user name will be used
  187.     this also makes for good user defined environment variables as aliases
  188.     things like:  
  189.             alias catopt '/f /s'
  190.             alias cat 'cat $catopt'
  191.                 or
  192.             alias cat 'cat /f /s'
  193.     then you could type:
  194.             cat file
  195.     and the /f and /s options would be used
  196. version 1.43:
  197.     a new command:   cursor
  198.     type (or include in alias) "cursor" to renable the cursor after
  199.     a wierd graphics program.  The command "cursor off" will disable
  200.     the cursor until "cursor" is executed.
  201. version 1.44:
  202. version 1.45:
  203.     .bat batch file automatically recognized
  204.     "get variable" - asks for a value for variable at console
  205.     :label
  206.     goto label
  207.     if =/!/>/< string1 string2
  208.     endif
  209.         ex.   if = $user bill
  210.             echo  Access cleared
  211.               endif
  212. version 1.46:
  213.     new cpd command, copies groups of files by date and/or archive
  214.     status.  Say
  215.         cpd *.c a:\ >= 5/14/88
  216.     Copies all .c files to drive a that have been modified after 5/13/88
  217.     the operators  = >= <= > <  are all valid.  Precede any of them with
  218.     lowercase 'a' (or a by itself with no date) and only files with
  219.     the archive bit set (modified since last copy) will be transfered
  220. version 1.48:
  221.     support for dos's built in batch commands "for", "if", etc..
  222.     
  223.  
  224. In the works:
  225.     perhaps function key definitions through aliases
  226.     alphabetized and more complete directory listings
  227.  
  228.  
  229.  
  230.             Purchasing Information:
  231.  
  232. You must send $30 for licensing for use in a com